package cn.iocoder.yudao.module.erp.controller.admin.mrp;

import cn.iocoder.yudao.framework.common.pojo.CommonResult;
import cn.iocoder.yudao.module.erp.controller.admin.mrp.vo.ErpMrpReqVO;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import static cn.iocoder.yudao.framework.common.pojo.CommonResult.success;

@Tag(name = "管理后台 - MRP")
@RestController
@RequestMapping("/erp/manufacture/mrp")
@Validated
public class ErpMrpController {

    @PostMapping("/runMrp")
    public CommonResult runMrp(@RequestBody ErpMrpReqVO reqVO) {
        System.out.println(reqVO);
        return success(true);
    }

}
